package com.twu.biblioteca;

/**
 * Created by Janu on 21/06/14.
 * Class: Check Out Book
 */
public class CheckOutBook extends Option {

    CheckOutBook(OptionManager optionManager){ this.optionManager = optionManager; }

    @Override
    String doSomething(Customer customer) {

        return optionManager.getCheckOutBook(customer, optionManager.getBookOrMovieCodeFromUser());
    }
}
